package com.hushao.aimi.vo;

import com.hushao.aimi.bo.CartBo;
import com.hushao.aimi.entity.AimiProduct;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import java.util.List;
import java.util.Optional;

/**
 * @description: 购物车Vo
 * @author: 胡少
 * @create: 2018-06-10 11:34
 **/
@Data
@Slf4j
public class CartVo{

    private String productId; //商品id

    private String productName;//商品名称

    private List<CartBo> cartBos;

    private CartVo() {

    }

    public CartVo(String productId, String productName, List<CartBo> cartBos) {
        this.productId = productId;
        this.productName = productName;
        this.cartBos = cartBos;
    }
}
